package cn.com.dycc.party_dues.info.service;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.multipart.MultipartFile;

import cn.com.dycc.common.page.BaseParam;
import cn.com.dycc.common.service.BaseService;
import cn.com.dycc.util.JsonObjectResult;

public interface Pb_Party_DuesService extends BaseService{
	
	/**
	 * 获取模板党费信息
	 * @param param
	 * @param request
	 * @return
	 * @throws Pb_Party_DuesNotFoundException
	 */
	public JsonObjectResult batchImport(String name,MultipartFile file) throws Pb_Party_DuesNotFoundException;
	
	/**
	 * 保存Excel模板党费信息
	 * @param infos 保存党费信息json对象数组
	 * @param request
	 * @return
	 * @throws Pb_Party_DuesNotFoundException
	 */
	public int saveExcel(String infos,HttpServletRequest request) throws Pb_Party_DuesNotFoundException;
	
	/**
	 * app管理员查询所有的党费信息
	 * @param param
	 * @param request
	 * @return
	 * @throws Pb_Party_DuesNotFoundException
	 */
	public JsonObjectResult findAppDuesByParam(BaseParam param,HttpServletRequest request) throws Pb_Party_DuesNotFoundException;
	
	/**
	 * app我的党费缴费
	 * @param param
	 * @param request
	 * @return
	 * @throws Pb_Party_DuesNotFoundException
	 */
	public JsonObjectResult findAppMyDuesByParam(BaseParam param,HttpServletRequest request) throws Exception;
	
	/**
	 * app管理员党费缴纳清单查询
	 * @param param
	 * @param request
	 * @return
	 * @throws Pb_Party_DuesNotFoundException
	 */
	public JsonObjectResult findAppDetailDuesByParam(BaseParam param,HttpServletRequest request) throws Pb_Party_DuesNotFoundException;
	
	/**
	 * app为未缴纳党费下订单
	 * @param param
	 * @param request
	 * @return
	 * @throws Pb_Party_DuesNotFoundException
	 */
	public JsonObjectResult findUnifiedOrderDuesByParam(BaseParam param,HttpServletRequest request) throws Pb_Party_DuesNotFoundException;

}
